Add 'usbfree' target.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 27 Jun 2005 18:36:02 +0000 (18:36 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 27 Jun 2005 18:36:02 +0000 (18:36 +0000)
gpsbabel/Makefile

index df34c7c36fe5755f72d7a758ecee41276873df6c..5ac6fbb78e3ce108d6ce42b7082f7ac1e2add0b0 100644 (file)
@@ -56,6 +56,15 @@ OBJS = main.o $(LIBOBJS)
 
 all: gpsbabel
 
+#
+# Alternate makefile target for the case when you have no libusb and no 
+# need for Garmin/USB (60, 76C, VistaC, Quest, etc.) support.
+#
+usbfree:
+       make LIBUSB= INHIBIT_USB=-DNO_USB
+
+
+
 gpsbabel: $(OBJS)
        $(CC) $(CFLAGS) $(OBJS) -o gpsbabel $(LIBEXPAT) $(LIBUSB) -lm